package com.gking.processHarvest.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;


/**
 * 好友列表
 */
@Data
public class Friends implements Serializable {

    private static final long serialVersionUID = 1L;

    //主键id
    private  String id;

    //用户id
    @TableField(fill = FieldFill.INSERT)
    private String masterId;

    //用户昵称
    private String masterNickname;

    //用户头像
    private String masterAvatar;

    //好友用户id
    private String friendId;

    //好友昵称
    private String friendNickname;

    //好友头像
    private String friendAvatar;

    //创建时间
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
}
